<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ page import="cn.com.oceansoft.nos.common.constant.Constant" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
String openId = request.getParameter("openId");
	session.setAttribute("openId", openId);
	if("1".equals("1"))
	{
%>
<script type="text/javascript">
	window.location.href='<%=path%>/api/vote/gotoVote'
</script>
<%
}
else
{
%>
<script type="text/javascript">
	window.location.href='<%=path%>/api/vote/gotoVote';
</script>
<%
	}

%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    <title>My JSP 'openId.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
  </head>
  
  <body>
    This is my JSP page. <br>
  </body>
</html>
